import {
  createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import dfish from 'dfish-widget'
import 'dfish-widget/css/style.css'
//import 'dfish-widget/css/reset.css'
import '@/assets/style.css'
import components from './components'

dfish.config({
  templateDir: 'views/',
  preloadDir: 'components/',
  defaultOptions: {
    'w-label': {
      width: 100
    }
  }
})

window.$ = dfish

const app = createApp(App)

app.use(dfish)
.use(components)
.use(router)
.mount('#app')
